﻿namespace DoNet.WechatPay.V2.Entitys
{
    /// <summary>
    /// 微信支付结果基类
    /// </summary>
    public interface IPayResultReturn
    {
        /// <summary>
        /// 返回状态码
        /// </summary>
        string return_code { set; get; }
        /// <summary>
        /// 返回信息
        /// </summary>
        string return_msg { set; get; }
    }

    /// <summary>
    /// 微信支付结果基类
    /// </summary>
    public class PayResultReturn : IPayResultReturn
    {
        /// <summary>
        /// 返回状态码
        /// </summary>
        public string return_code { set; get; } = string.Empty;
        /// <summary>
        /// 返回信息
        /// </summary>
        public string return_msg { set; get; } = string.Empty;
    }
}
